<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('检测信息修改')"/>
	<link rel="stylesheet" th:href="@{/static/detection/add.css}"/>
</head>

<body>
<form class="layui-form" action=""  th:object="${Detection}">
    <div class="mainBox">
        <div class="main-container">
				<table  id="myTable" border=0 cellpadding=0 cellspacing=0 width=1021 style='border-collapse:
			collapse;table-layout:fixed;width:766pt'>
					<col width=64 span=6 style='width:48pt'>
					<col width=61 style='mso-width-source:userset;mso-width-alt:2161;width:46pt'>
					<col width=64 span=9 style='width:48pt'>
					<tr height=20 style='height:15.0pt'>
						<td colspan=16 height=20 class=xl7332418 width=1021 style='height:15.0pt;
								width:766pt'>
							砝码检定信息填写
							<input type="text" class="hidden" th:value="*{id}" name="id" lay-verify="title"
								   autocomplete="off" >
						</td>
					</tr>
					<tr height=20 style='height:15.0pt'>
						<td colspan=16 height=20 class=xl6832418 style='height:15.0pt'>
						</td>
					</tr>
					<tr height=18  style='mso-height-source:userset;height:18.8pt'>
						<td colspan=5 height=18 class=xl7532418 style='height:13.8pt'>
							<span class="sp_red">*&nbsp;</span>客户名称:
							<input th:value="*{customer}" type="text" id="customer" name="customer" style='mso-spacerun:yes' />
						</td>
						<td colspan=6 class=xl6432418>
							型号规格／测量范围:
							<input th:value="*{modelspecifications}" type="text" id="modelspecifications"   name="modelspecifications" style='mso-spacerun:yes'/>
						</td>
						<td colspan=5 class=xl6432418>
							任务单号:
							<input th:value="*{taskno}" type="text" id="taskno"  name="taskno" style='mso-spacerun:yes'/>
						</td>
					</tr>
					<tr height=18 class="tr_height" style='mso-height-source:userset;height:24.8pt'>
						<td colspan=5 height=18 class=xl6332418 style='height:13.8pt'>
									<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							制造厂／商:
							<input id="manufacturer" th:value="*{manufacturer}" type="text" name="manufacturer" style='mso-spacerun:yes'/>
						</td>
						<td colspan=3 class=xl6432418>
							<span class="sp_red">*&nbsp;</span>准确度等级／MPE:
						</td>
						<td colspan=4 class=xl6432418>
							<div>
								<select name="mpe1" th:field="*{mpe1}" th:with="type=${@dict.getType('E2_F1_F2_M1')}">
									<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
								</select>

							</div>
						</td>
						<td colspan=5 class=xl6432418>
							出厂编号:
							<input id="exitnum"   th:value="*{exitnum}" type="text"  name="exitnum"  style='mso-spacerun:yes'/>
						</td>
					</tr>
					<tr height=19 class="tr_height" style='mso-height-source:userset;height:24.8pt'>
						<td colspan=5 height=19 class=xl6332418 style='height:14.4pt'>
									<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							主要标准器名称:
							<input id="mainstandard" th:value="*{mainstandard}" type="text" name="mainstandard" style='mso-spacerun:yes'/>
						</td>
						<td colspan=3 class=xl6432418>
									<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							测量范围:<input th:value="*{mrange}" type="text"  id="mrange"  name="mrange"  class="input_min" style='mso-spacerun:yes'/>
						</td>

						<td colspan=5 class=xl6432418>
							证书编号:
							<input id="certificateno" th:value="*{certificateno}" type="text"  name="certificateno" style='mso-spacerun:yes'/>
						</td>
					</tr>
					<tr height=19 class="tr_height" style='height:24.8pt'>
						<td colspan=2 height=19 class=xl6332418 style='height:14.4pt'>
							<span class="sp_red">*&nbsp;</span>标准砝码:
						</td>
						</td>
						<td colspan=4 class=xl6932418>
							<div>

								<select name="smw" th:field="*{smw}" th:with="type=${@dict.getType('fmcode')}">
									<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
								</select>

							</div>
						</td>
						<td colspan=4 class=xl6432418>
							证书有效期至:
							<input id="certificateutil"  type="text" th:value="*{certificateutil}"  name="certificateutil"   style='mso-spacerun:yes'placeholder="202X-XX-XX" />
						</td>
					</tr>
					<tr height=19 class="tr_height" style='height:24.8pt'>
						<td height=19 class=xl6332418 colspan=3 style='height:14.4pt'>
									<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							检定的环境条件:
						</td>
						<td colspan=2 class=xl6432418>
							温度:
							<input id="temperature" th:value="*{temperature}" type="text"   name="temperature" class="input_min1" style='mso-spacerun:yes' placeholder="℃" />
						</td>
						<td colspan=2 class=xl6932418>
							湿度:
							<input id="humidity"  name="humidity"  th:value="*{humidity}" type="text"  class="input_min1" style='mso-spacerun:yes' placeholder="%RH" />
						</td>
						<td colspan=3 class=xl6432418>
							大气压力:
							<input  id="atmospheric" name="atmospheric"  th:value="*{atmospheric}" type="text"  class="input_min1"  style='mso-spacerun:yes' placeholder="hPa" />
						</td>
						<td colspan=3 class=xl6932418>
							空气密度:
							<input id="airdensity" name="airdensity"   th:value="*{airdensity}" type="text"  class="input_min1" style='mso-spacerun:yes' placeholder="mg/cm³" />
						</td>
						<td colspan=3 class=xl6432418>
							材料:
							<input id="stuff"  name="stuff" th:value="*{stuff}" type="text" class="input_min" style='mso-spacerun:yes' />
						</td>
					</tr>
					<tr height=19 class="tr_height" style='height:24.8pt'>
						<td colspan=7 height=19 class=xl6332418 style='height:14.4pt'>
							<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							检定依据的技术文件:
							<input id="according" th:value="*{according}" type="text"  class="input_max" name="according" value="JJG99-2022《砝码》检定规程"/>

						</td>
						<td colspan=5 class=xl6432418>
							计量标准使用前工作状况:
							<input class="input_min" id="prework"  th:value="*{prework}" type="text" name="prework" style='mso-spacerun:yes'/>
						</td>
						<td colspan=4 class=xl6432418>
							计量标准使用后工作状况:
							<input class="input_min" id="afterwork"  th:value="*{afterwork}" type="text" name="afterwork" style='mso-spacerun:yes'/>
						</td>
					</tr>
					<tr height=19 class="tr_height" style='height:24.8pt'>
						<td colspan=11 height=19 class=xl6332418 style='height:14.4pt'>
							<span style='mso-spacerun:yes'>
										&nbsp;
									</span>
							检定项目:
							<input class="input_max" id="project"  th:value="*{project}" type="text"  name="project" style='mso-spacerun:yes'/>
						</td>
						<td colspan=6 class=xl6432418>
									<span style='mso-spacerun:yes'>
										</span>
										检定地点:
									 <input  id="inspectionsite"  th:value="*{inspectionsite}" type="text" name="inspectionsite" class="input_max" value='甘肃省计量研究院11室' style='mso-spacerun:yes'/>


						</td>
					</tr>
				</table>


		</div>
    </div>




    <div class="bottom">
        <div class="button-container">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit=""
                    lay-filter="detection-update">
                <i class="layui-icon layui-icon-ok"></i>
				提交
            </button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">
                <i class="layui-icon layui-icon-refresh"></i>
				重置
            </button>
        </div>
    </div>
</form>
<th:block th:include="include :: footer"/>
<script th:src="@{/static/detection/edit.js}"></script>

</body>
</html>